package com.mmg.spzx.user.mapper;

import com.mmg.spzx.model.entity.user.UserAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserAddressMapper {
    List<UserAddress> findUserAddressList(Long userId);

    UserAddress getUserAddressById(Long id);

    void save(UserAddress userAddress);

    void removeById(Long id);

    void updateById(UserAddress userAddress);
}
